This article describes how to write a small program in the command line address book. The following are the ideas and codes for writing. You are welcome to discuss them.
1. goals
Write a command line Address Book program to add,
Create your own command-line address book program.In this app, you can add, edit, delete, and search your contacts (friends, family, colleagues, etc.) and their information (such as e-mail addresses and/or phone numbers).These details should be saved for later extraction.Python version 3.4.31 #Create your own command-
command-line editing:Cursor Jump:CTRL + A: Skip to the beginning of the commandCtrl+e: Jump to the end of the command lineCtrl+u: Delete the cursor to the beginning of the command lineCTRL+K: Delete the cursor to the end of the command lineCtrl+l: Clear ScreenCtrl+d: Delete
How to use and run PHP scripts from the Linux command line, the Linux command line PHP script
The following is an illustrated way to share with you under the Linux
Fun in the terminal: 6 interesting Linux Command Line tools, linux Command Line
Article link:
Http://hpw123.net/a/Linux/ruanjiananzhuang/2014/1103/117.html
More articles are availableH
Linux Command Line input summary, linux Command Line SummaryLinux basic command input
New User: useradd [user name]; Change User name: usermod-l (Note: lowercase letter L) [user name yo
Use fetion in Linux Command Line and linux Command Line fetionDownload the fetionprogram and other linuxso programs from http://www-it-adv.net/1. Install FeixinDecompress the package in windows and upload it to
Linux Command Line options and parameters, linux Command Line options
1. main function parameter form
Int main (int argc, char * argv [], char * env []); // The first argc parameter indicates the number of parameters in the
Oracle linux understands the basic command line and oraclelinux command line
1. Linux version: kernel version and distribution version
2. commands for copying, deleting, and Moving Files
Cp [Option] source file or directory target
The command line sends an email, and the linux Command Line sends an email.CentOS
Stop or remove sendmail: yum remove sendmail
Yum install postfix
Yum install mailx
Check whether the MTA is Postfix: alternatives -- display mta
If you do not change the default MTA to Po
text and print the matching lines.A. Man finds related usages by command name, such as man find, which shows the parameters of the Find command45.apropos If you don't know the name of the command you need to complete a particular task, you can use a keyword to search for it through the Linux apropos utility46.ENV Viewing Environment env | grep huguagnqinenv | Le
, and they are isolated from each other before they are merged into the application.Note:[1] If you do not want to enter the Android SDK directory every time to run the Android command, you can add the SDK platform-tools/and tools/two directories to the environment variable PATH.[2] Try not to change the project path as much as possible, as this will break the SDK path properties in Local.properties. If you changed the project path, use the Android Up
Linux interacts directly with the local computer, and the command line uploads and downloads files.One, Lrzsz command line installation:1, RPM Installation:(link: http://pan.baidu.com/s/1cBuTm2 password: VIJF)RPM-IVH lrzsz-0.12. -22.1. x86_64.rpm2. Yum Installation:Yum Insta
arguments printing parameters
Export Export/set A new environment variable exporting/setting up an environment variable
Exit exit the Shell
sudo become super User root becomes superuser or root
chmod Change permission modifiers modify file permissions
Chown Changeownership Modifying the owner of a file
Cd.. Go back to the top level directory (there are spaces!) )
CD "I had fun" open a folder with spaces in the middle with ""
CD i\ have\ fun/open a folder with spaces in the middl
View file contents: Cat/etc/shadow All contentsThe cat command is all outputCat/etc/shadow-n output content and line number, empty industry outputCat/etc/shadow-b output content and line numbers, but no spaces are outputTac/tmp/cat.txt file contents in turn lookShow all results first and then show 15 rows showing the first 15 rows: Cat-n/etc/shadow | Head-n 15Sho
I believe that the students who are familiar with Linux have a problem is that if you want to view a file to a level or multilevel to the CD switch directory, which has a convenient way to switch the wood? Just like shortcut keys.This is the configuration of the custom command in the Linux system, very simple??In file/ROOT/.BASHRC, add the following line:Alias my
the path defined by the PATH environment variable, the command to be executed the first time it is foundDirect completion: Tab, the user given a string with only one single corresponding commandIndirect completion: The user given a string for the beginning of the corresponding command is not unique, double-click tab to give all the list of satisfied conditions3. Path completionTake the user-given string as
, shell cannot fully mobilize computer functions.
(For more information about shell, see Linux architecture and Linux Command lines and commands)
Guido hopes to have a language that can fully call computer functional interfaces like the C language, and programming as easily as shell. The ABC language allows Guido to see what they want. ABC is composed of CW
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.